Developing Webs logo
Google
Web DW-Main DW-Photoshop
Visit the message board for solutions or post a question Check out the Classes offered for free at Developing Webs Voice Chat submit a tutorial, resources, article, font for publication consideration and earn a one way link back to your site Get more specifics about the Developing Webs Voice chat room and its room members View the current news at Developing Webs alternative sites which are resources for your d3evelopment needs Join Developing Webs Chat Link to us on your web page to help support this resource! Check out Developing Webs At yahoo groups! Developing Webs Home Adobe Photoshop Tutorials Macromedia Flash Tutorials Jasc Paint Shop Pro Tutorials Adobe Illustrator Animation basics Some Basic PHP tutorials Perl Tutorials HTML Tutorials Cascading Style Sheets javascript Front Page Tutorials Macromedia Dream Weaver Tutorials dreamweaver Publishing your site, FTP, ChMod, Promotions
RSS Newsfeed
for your site
DW News
Calendar
DW Forum
Right click on button and copy shortcut

Add to My Yahoo!

Reminder
Remember to book mark this site!



Request a Tutorial

Format Body Tag Styles Using CSS

by; Cullen Tir

<STYLE TYPE="text/css">
This tells your browser that it is using style sheets.
</STYLE>
this tells the browser where the end of the style sheet command is.

<!-- this is the start part for comments
--> and this is the end of the comment tags


In between them will be your style rules, and this is for older browsers to ignore what it cant read.

Example; <STYLE TYPE="text/css"> <!-- style rules here --></STYLE>

Select a body type tag to be altered by css within your html doc.
I am using H1 heading and bold tag here.
any H1 and Bold tag within your doc will be the target of this style.
H1, b {color: #ffcccc; font-family: Arial}


This is the target.

Here the H1 will change any H1 header you place on your page.
b will change any Bold tag on your page.


This is the action;

{color: #FFCCFF; font-family: arial} this will happen to all H1 and Bold tags in your doc.

Example;
<STYLE TYPE="text/css">
<!--H1, b {color: #FFCCFF; font-family: arial} -->
</STYLE>


This styel source goes in the Head of your page.
In your HTML page inside the body you place any H1 Heading
and it will have the effects you pre determined for all H1 headings.


this is an H1 heading example with this css tut



and below is a bold tag example

This is an example of the css tut here
a lot of trouble for this?
Not at all when you have ten diff actions in the style sheet
and all you have to do to change in the future is to change one line in the style sheet part to effect the whole page in one move !

Cool Huh?



"Building The Web Into a Nicer Place -- One Site At A Time"
Developing Webs Group Copyright © 2001-2024 All Rights Reserved
Privacy and Legal